import request from '@/utils/request'
import { QueryData } from './types/common'
import { ReponseData } from '@/utils/request'
// 查询文章列表
export const getArticlesList = (query: QueryData): ReponseData => {
  return request({
    url: '/articles/list',
    method: 'get',
    params: {
      query
    }
  })
}
